// 表单字段名称
export enum FormField {
  PROJECT_ID = 'projectId',
  PROJECT_NAME = 'projectName',
  APPROVAL_OPINION = 'approvalOpinion',
  CHANGE_TYPE = 'changeType',
  CHANGE_REASON = 'changeReason',
  TECHNICAL_UNIT_IMPACT = 'technicalUnitImpact',
  CANCELLATION_REASON = 'cancellationReason',
  ATTACHMENTS = 'attachments'
}

// 选项卡常量
export enum TabKey {
  WORKFLOW_DIAGRAM = 'workflowDiagram',
  BASIC_INFO = 'basicInfo'
}

// 表单验证规则
export const VALIDATION_MESSAGES = {
  REQUIRED: '此项为必填项',
  INVALID_FORMAT: '格式不正确'
};

// 变更分类选项
export const CHANGE_TYPE_OPTIONS = [
  { label: '技术原因', value: '技术原因' },
  { label: '业务原因', value: '业务原因' },
  { label: '管理原因', value: '管理原因' }
];

// 技术外联单位影响选项
export const TECH_IMPACT_OPTIONS = [
  { label: '无', value: '无' },
  { label: '有', value: '有' }
];

// 节点状态颜色映射
export const NODE_STATUS_COLOR = {
  pending: '#d9d9d9',
  processing: '#1890ff',
  completed: '#52c41a'
}; 